﻿@extends('layouts.home')

@section('title')
    <title>后盾个人博客</title>
    <meta name="keywords" content="个人博客模板,博客模板" />
    <meta name="description" content="寻梦主题的个人博客模板，优雅、稳重、大气,低调。" />
@endsection

@section('content')

    <article class="blogs">
        <h1 class="t_nav"><span>{{ $category->cate_title }}</span>
            <a href="{{ url('/') }}" class="n1">网站首页</a>
            <a href="{{ url('/list/'.$category->cate_id) }}" class="n2">{{ $category->cate_name }}</a>
        </h1>
        <div class="newblog left">

            @foreach($list as $l)
            <h2>{{ $l->art_title }}</h2>
            <p class="dateview"><span>发布时间：{{ date('Y-m-d', $l->art_time) }}</span><span>作者：{{ $l->art_editor }}</span></p>
            <figure><img src="{{ url('/'.$l->art_thumb) }}"></figure>
            <ul class="nlist">
                <p>{{ $l->art_description }}</p>
                <a title="{{ $l->art_title }}" href="{{ url('/article/'.$l->art_id) }}" target="_blank" class="readmore">阅读全文>></a>
            </ul>
            <div class="line"></div>
            @endforeach

            <div class="blank"></div>

            <div class="page">
                {{ $list->links() }}
            </div>
        </div>

        @parent

    </article>

@endsection
